package com.example.day10;

public class MT1 extends Thread {
    public static void main(String[] args) throws InterruptedException {
        MT1 mt1 = new MT1();
        mt1.start();
//        Thread.sleep(1);
        System.out.println("test");
    }

    @Override
    public void run() {
        for (int i = 0; i < 10; i++) {
            System.out.println(i);
        }
    }
}